package com.dao;

import com.model.Blacklist;
import com.model.BlacklistModel;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author
 * @Description: 黑名单
 * @date 2021/4/17 14:01
 */
@Component
public interface BlacklistDao {

    List<BlacklistModel> list(String name);

    Blacklist getByUserId(Long userId);

    void add(Blacklist blacklist);

    void del(Long id);

}
